package com.heima.common.constants.wemedia;

/**
 * @author AWei
 * @Description 素材常量
 * @Version 1.0
 */
public class WemediaConstants {

    /**
     * @Description 收藏
     */
    public static final Short COLLECT_MATERIAL = 1;

    /**
     * @Description 取消收藏
     */
    public static final Short CANCEL_COLLECT_MATERIAL = 0;

    /**
     * @Description 文章类型
     */
    public static final String WM_NEWS_TYPE_IMAGE = "image";

    // status字段：0 草稿   1 待审核   2 审核失败   3 人工审核   4 人工审核通过   8 审核通过（待发布）  9 已发布
    /**
     * @Description 草稿
     */
    public static final Short WM_NEWS_DRAFT_STATUS = 0;
    /**
     * @Description 提交
     */
    public static final Short WM_NEWS_SUMMIT_STATUS = 1;
    /**
     * @Description 审核通过
     */
    public static final Short WM_NEWS_AUTHED_STATUS = 8;
    /**
     * @Description 已发布
     */
    public static final Short WM_NEWS_PUBLISH_STATUS = 9;
    /**
     * @Description 审核失败
     */
    public static final Short WM_NEWS_AUDIT_FAILURE = 2;
    /**
     * @Description 人工审核
     */
    public static final Short WM_NEWS_HUMAN_REVIEW = 3;
    /**
     * @Description 人工审核通过
     */
    public static final Short WM_NEWS_HUMAN_PASS = 4;

    // 文章封面选图
    /**
     * @Description 无图
     */
    public static final Short WM_NEWS_NONE_IMAGE = 0;
    /**
     * @Description 单图
     */
    public static final Short WM_NEWS_SINGLE_IMAGE = 1;
    /**
     * @Description 多图
     */
    public static final Short WM_NEWS_MANY_IMAGE = 3;
    /**
     * @Description 图文类型自动
     */
    public static final Short WM_NEWS_TYPE_AUTO = -1;

    // 文章图片引用
    /**
     * @Description 文章图片引用
     */
    public static final Short WM_CONTENT_REFERENCE = 0;
    /**
     * @Description 封面图片引用
     */
    public static final Short WM_IMAGE_REFERENCE = 1;
    /**
     * @Description 下架
     */
    public static final Short WM_NEWS_DOWN = 0;
    /**
     * @Description 上架
     */
    public static final Short WM_NEWS_UP = 1;

    /**
     * @Description 人工审核通过
     */
    public static final Short WM_NEWS_AUTH_PASS = 4;
    /**
     * @Description 人工审核失败
     */
    public static final Short WM_NEWS_AUTH_FAIL = 2;
}